﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="FisheryPlatform.Web.Admin.ShareCode.Index" %>

<%@ Register TagName="Style" TagPrefix="Menu" Src="~/Modules/Menu/StyleMenu.ascx" %>
<%@ Register TagName="Left" TagPrefix="Menu" Src="~/Modules/Menu/LeftMenu.ascx" %>
<%@ Register TagName="Header" TagPrefix="Menu" Src="~/Modules/Menu/HeaderMenu.ascx" %>
<%@ Register TagName="Footer" TagPrefix="Menu" Src="~/Modules/Menu/FooterMenu.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <Menu:Style runat="server" ID="menuStyle" Title="类别管理"></Menu:Style>
</head>
<body>
    <div class="wrapper">
        <Menu:Header runat="server" ID="menuHeader" />
        <div class="content">
            <Menu:Left runat="server" ID="menu_Left" />
            <div class="right">
                <div class="top">
                    类别管理>>所有类别</div>
                <div class="bottom">
                    <form id="form1" runat="server">
                    <table class="list" cellspacing="0" cellpadding="0">
                        <tr>
                            <th style="width: 40px;">
                                序号
                            </th>
                            <th style="width: 120px;">
                                中文名称
                            </th>
                            <th style="width: 120px;">
                                英文名称
                            </th>
                            <th style="width: 120px;">
                                编码
                            </th>
                            <th style="width: 140px;">
                                更新时间
                            </th>
                            <th style="width: 140px;">
                                创建时间
                            </th>
                            <th style="width: 60px;">
                                操作
                            </th>
                        </tr>
                        <% 
                            var index = 0;
                            foreach (var item in ClassInfoList)
                            {
                                index++;
                        %>
                        <tr>
                            <td>
                                <%= index %>
                            </td>
                            <td>
                                <a href="CodeList.aspx?cid=<%=item.ClassID %>&pid=0" title="">
                                    <%= HttpUtility.HtmlEncode(item.Name) %>
                                </a>
                            </td>
                            <td>
                                <%= HttpUtility.HtmlEncode(item.NameEN) %>
                            </td>
                            <td>
                                <%= HttpUtility.HtmlEncode(item.Code) %>
                            </td>
                            <td>
                                <%= HttpUtility.HtmlEncode(item.LastUpdateDate.ToString("yyyy-MM-dd HH:mm:ss")) %>
                            </td>
                            <td>
                                <%= HttpUtility.HtmlEncode(item.CreateDate.ToString("yyyy-MM-dd HH:mm:ss")) %>
                            </td>
                            <td>
                                <a href="ClassAdd.aspx?cid=<%=item.ClassID %>">修改</a>
                            </td>
                        </tr>
                        <%} %>
                    </table>
                    </form>
                </div>
            </div>
        </div>
        <Menu:Footer runat="server" ID="menuFooter" />
    </div>
</body>
</html>
